package com.hxzy.mapper;

import com.hxzy.controller.admin.dicttype.req.DictTypeReq;
import com.hxzy.entity.SysDictType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【sys_dict_type(字典类型表)】的数据库操作Mapper
* @createDate 2023-06-28 16:38:45
* @Entity com.hxzy.entity.SysDictType
*/
public interface SysDictTypeMapper extends BaseMapper<SysDictType> {

    List<SysDictType> search( @Param(value = "req") DictTypeReq req);

    @Select(value = "select id,dict_name as dictName, dict_type as dictType from sys_dict_type where status='0' ")
    List<Map<String, Object>> dataAll();
}




